//
//  BSUserSetting.m
//  BS
//
//  Created by 王浩宇 on 15/8/25.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "BSUserSetting.h"

@implementation BSUserSetting

+ (BSUserSetting *)userSettingManager
{
    static BSUserSetting *userSetting = nil;
    static dispatch_once_t onceToken;
    dispatch_once (&onceToken, ^{
        userSetting = [[BSUserSetting alloc] init];
        userSetting.sizeFont = 17;
    });
    return userSetting;
}


- (void)setSizeFont:(CGFloat)sizeFont{

    if (_sizeFont != sizeFont) {
        _sizeFont = sizeFont;
        [[NSNotificationCenter defaultCenter] postNotificationName:@"字体改变" object:nil];
    }
}

@end
